package be.nvlooy.moviereminder.common;

public interface SessionMessage {
	
	enum MessageType {
		INFO("infoMessage"),
		WARNING("warningMessage"),
		ERROR("errorMessage");
		
		private String parameter;
		
		MessageType(String parameter) {
			this.parameter = parameter;
		}
		
		public String getParameter() {
			return parameter;
		}
	}
	
	void setMessage(String message);
	
	void setMessage(String message, MessageType msgType);
	
	String getMessage();
	
	String getMessageTypeParameter();
}
